/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.aptech.BugRS.enity;

import java.sql.Date;

/**
 *
 * @author KISS
 */
public class ComplaintDTO {
    /*
     * Store the ID of Complaint
     */

    private int complaintID;
    /*
     * Store DispatchNo of Complaint
     */
    private int dispatchNo;
    /*
     * Store DepartmentID of Complaint
     */
    private int departmentID;
    /*
     * Store CustomerID of Complaint
     */
    private int customerID;
    /*
     * Store title of Complaint
     */
    private String comTitle;
    /*
     * Store content of Complaint
     */
    private String comContent;
    /*
     * Store date sent complaint
     */
    private Date comDate;
    /*
     * Store status of Complaint, status is set 0 if The response have not been sent yet,
     *and status is set 1 if the response is sent
     */
    private String comStatus;

    /**
     * @return the complaintID
     */
    public int getComplaintID() {
        return complaintID;
    }

    /**
     * @param complaintID the complaintID to set
     */
    public void setComplaintID(int complaintID) {
        this.complaintID = complaintID;
    }

    /**
     * @return the dispatchNo
     */
    public int getDispatchNo() {
        return dispatchNo;
    }

    /**
     * @param dispatchNo the dispatchNo to set
     */
    public void setDispatchNo(int dispatchNo) {
        this.dispatchNo = dispatchNo;
    }

    /**
     * @return the departmentID
     */
    public int getDepartmentID() {
        return departmentID;
    }

    /**
     * @param departmentID the departmentID to set
     */
    public void setDepartmentID(int departmentID) {
        this.departmentID = departmentID;
    }

    /**
     * @return the customerID
     */
    public int getCustomerID() {
        return customerID;
    }

    /**
     * @param customerID the customerID to set
     */
    public void setCustomerID(int customerID) {
        this.customerID = customerID;
    }

    /**
     * @return the comTitle
     */
    public String getComTitle() {
        return comTitle;
    }

    /**
     * @param comTitle the comTitle to set
     */
    public void setComTitle(String comTitle) {
        this.comTitle = comTitle;
    }

    /**
     * @return the comContent
     */
    public String getComContent() {
        return comContent;
    }

    /**
     * @param comContent the comContent to set
     */
    public void setComContent(String comContent) {
        this.comContent = comContent;
    }

    /**
     * @return the comDate
     */
    public Date getComDate() {
        return comDate;
    }

    /**
     * @param comDate the comDate to set
     */
    public void setComDate(Date comDate) {
        this.comDate = comDate;
    }

    /**
     * @return the comStatus
     */
    public String getComStatus() {
        return comStatus;
    }

    /**
     * @param comStatus the comStatus to set
     */
    public void setComStatus(String comStatus) {
        this.comStatus = comStatus;
    }

    /**
     * Contructor with full parameter
     * @param complaintID
     * @param dispatchNo
     * @param departmentID
     * @param customerID
     * @param comTitle
     * @param comContent
     * @param comDate
     * @param comStatus
     */
    public ComplaintDTO(int complaintID, int dispatchNo, int departmentID, int customerID, String comTitle, String comContent, Date comDate, String comStatus) {
        this.comContent = comContent;
        this.comDate = comDate;
        this.comStatus = comStatus;
        this.comTitle = comTitle;
        this.complaintID = complaintID;
        this.customerID = customerID;
        this.departmentID = departmentID;
        this.dispatchNo = dispatchNo;
    }
    /*
     * Default Constructor
     */

    public ComplaintDTO() {
        this.comContent = null;
        this.comDate = null;
        this.comStatus = null;
        this.comTitle = null;
        this.complaintID = 0;
        this.customerID = 0;
        this.departmentID = 0;
        this.dispatchNo = 0;
    }

    public boolean Validate(){
        return true;
    }
}
